<?

class template {

	var $title; // Page title
	var $meta_keywords; // Page keywords
	var $meta_desription; // Page description
	var $meta_canonical; // Page canonical
	var $search_tab; // set the search tab to display
	var $search_form; // Display Holiday/Hotel searh form
	var $breadcrumbs_html = false; // Display breadcrumbs
	var $show_tos = true; // Show / hide the tour operator logos
        var $print_style = false; // Show / hide the print style sheet
        var $side_ads = true; // Show / hide ads on side
        
        
        
function display($template)	{
	global $results;
	include SITE_ROOT_PATH."/_lib/html/$template";  
}
	
	
	
// Function // Display head
function head_gallery(){
	// Set character set
	header('Content-Type: text/html; charset=utf-8');
	include SITE_ROOT_PATH."/_lib/html/gallery_head.php";
}



// FUNCTION // Display gallery foot
function foot_gallery(){

	include SITE_ROOT_PATH."/_lib/html/gallery_foot.php";

}


// Function // Display head 
function ld_head(){

	// Set character set
	header('Content-Type: text/html; charset=utf-8');
	if(!empty($this->search_tab)){
		setcookie("main_tab", $this->search_tab, 0, "/");
	}

	$this->leaderboard = false;
	$this->standard_banner = true;
	
	include SITE_ROOT_PATH."/_lib/html/public_head.php";

}




// FUNCTION // Display public site foot
function ld_foot(){

	include SITE_ROOT_PATH."/_lib/html/public_foot.php";

}





// Function // Display head
function head_booking(){
	// Set character set
	header('Content-Type: text/html; charset=utf-8');
	include SITE_ROOT_PATH."/_lib/html/booking_head.php";

}




// FUNCTION // Display gallery foot
function foot_booking(){

	include SITE_ROOT_PATH."/_lib/html/booking_foot.php";

}







// Function // Display head
function head_control(){
	// Set character set
	header('Content-Type: text/html; charset=utf-8');
	include SITE_ROOT_PATH."/_lib/html/control_head.php";

}




// FUNCTION // Display gallery foot
function foot_control(){

	include SITE_ROOT_PATH."/_lib/html/control_foot.php";

}





// Function // Display head
function head_popup(){
	// Set character set
	header('Content-Type: text/html; charset=utf-8');
	include SITE_ROOT_PATH."/_lib/html/popup_head.php";

}




// FUNCTION // Display gallery foot
function foot_popup(){

	include SITE_ROOT_PATH."/_lib/html/popup_foot.php";

}




}
?>